package com.tienon.message.service;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.tienon.message.thread.MQSendAppMsgTasks;

@Service
public class MQSendMsgService {

	@Resource
	private MQSendAppMsgTasks appSendMQ;
	
	public void startSendAppMsgToMQ(){
		appSendMQ.run();
	}
	
	public void shutdownSendAppMsgToMQTasks(){
		appSendMQ.shutdown();
	}
}
